package com.imohoo.libs.retrofit2.converter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class SpFile {
    private HashMap<String, Object> params;
    private List<String> filespath;
    private String filetag;

    public SpFile(HashMap<String, Object> params, String filetag, String filepath) {
        this.params = params;
        this.filespath = new ArrayList<>();
        this.filespath.add(filepath);
        this.filetag = filetag;
    }

    public SpFile(HashMap<String, Object> params, String filetag, List<String> filespath) {
        this.params = params;
        this.filespath = filespath;
        this.filetag = filetag;
    }

    public HashMap<String, Object> getParams() {
        return params;
    }

    public SpFile setParams(HashMap<String, Object> params) {
        this.params = params;
        return this;
    }

    public List<String> getFilespath() {
        return filespath;
    }

    public SpFile setFilespath(List<String> filespath) {
        this.filespath = filespath;
        return this;
    }

    public String getFiletag() {
        return filetag;
    }

    public SpFile setFiletag(String filetag) {
        this.filetag = filetag;
        return this;
    }
}